import React from "react"
import type { Meta, StoryObj } from "@storybook/react"

import QuestionInput from "../../components/QuestionComponents/QuestionInput/QuestionInput"

const meta: Meta<typeof QuestionInput> = {
    title: "Question/QuestionInput",
    component: QuestionInput
}

export default meta

type Story = StoryObj<typeof QuestionInput>

// 默认Story
export const Default: Story = {}

// 设置 props 的 Story
export const SetProps: Story = {
    args: {
        title: "Custom title",
        placeholder: "Type here..."
    }
}
